package com.cyl.manager.act.domain.convert;

import org.mapstruct.Mapper;


import com.cyl.manager.act.domain.entity.FhFamilies;
import com.cyl.manager.act.domain.vo.FhFamiliesVO;
import com.cyl.manager.act.domain.dto.FhFamiliesDTO;


import java.util.List;

/**
 * 鱼类科属  DO <=> DTO <=> VO / BO / Query
 *
 * @author zcc
 */
@Mapper(componentModel = "spring")
public interface FhFamiliesConvert {

    /**
     * @param source DO
     * @return DTO
     */
    FhFamiliesDTO do2dto(FhFamilies source);

    /**
     * @param source DTO
     * @return DO
     */
    FhFamilies dto2do(FhFamiliesDTO source);

    List<FhFamiliesVO> dos2vos(List<FhFamilies> list);
}
